Solve the system of equations:

A = Intersect(c, d, 1)
B = Intersect(c, d, 3)
C = Intersect(c, d, 4)
D = Intersect(c, d, 2)
text2: " " + c
text3: " " + d